<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div class="container">
        <div class="panel-heading">上传文件</div>
        <form class="form-horizontal" method="POST" action="{{ url('file/uploadfile')}}" enctype="multipart/form-data">
            {{ csrf_field() }}           
            <label for="file">选择文件</label>
            <input id="file" type="file" class="form-control" name="source" required>    
            <button type="submit" class="btn btn-primary">确定</button>
        </form>
    </div>
</body>
</html>